package com.demo.passenger.sys.user.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.demo.passenger.sys.user.entity.SysUser;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author weifucheng
 * @since 2019-07-13
 */
public interface ISysUserService extends IService<SysUser> {
    public List<SysUser> listByParams(Page<SysUser> page, SysUser sysUser);

    public List<SysUser> listByParams(SysUser sysUser);

    SysUser readByUserName(String userName);

    public Page<SysUser>  listByParams(SysUser sysUser, Integer current, Integer size);

    Boolean saveSingle(SysUser sysUser);
}
